/*
 * @Date: 2023-08-14 19:23:04
 * @LastEditors: lyx
 * @LastEditTime: 2023-10-09 19:51:52
 * @FilePath: \sup-mimi-program-server\src\weapp\dto\create-weapp.dto.ts
 * @Description:
 */

import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
export class CreateWeappDto {
  @ApiProperty({ description: '手机号', example: '13616859570' })
  @IsNotEmpty({ message: '手机号不能为空' })
  phoneNumber: string;
  @ApiProperty({
    description: 'openId',
    example: '',
  })
  @IsNotEmpty({ message: 'openId 不能为空' })
  openId: string;
}
